﻿Imports TyranntDungeonDatabase
' NOTE: If you change the class name "TyranntDungeonService" here, you must also update the reference to "TyranntDungeonService" in Web.config and in the associated .svc file.
Public Class TyranntDungeonService
    Implements ITyranntDungeonService

    Private dungeon As New DungeonRoutines

    Public Function AddDungeonObject(ByVal token As String, ByVal dungeonObjXML As String) As String Implements ITyranntDungeonService.AddDungeonObject
        Return dungeon.AddDungeonObject(token, dungeonObjXML)
    End Function

    Public Function DeleteDungeonObject(ByVal token As String, ByVal dungeonObjName As String) As String Implements ITyranntDungeonService.DeleteDungeonObject
        Return dungeon.DeleteDungeonObject(token, dungeonObjName)
    End Function

    Public Function GetDungeonObject(ByVal token As String, ByVal dungeonObjName As String) As String Implements ITyranntDungeonService.GetDungeonObject
        Return dungeon.GetDungeonObject(token, dungeonObjName)
    End Function

    Public Function GetDungeonObjects(ByVal token As String) As String Implements ITyranntDungeonService.GetDungeonObjects
        Return dungeon.GetDungeonObjects(token)
    End Function

    Public Function UpdateDungeonObject(ByVal token As String, ByVal dungeonObjXML As String) As String Implements ITyranntDungeonService.UpdateDungeonObject
        Return dungeon.UpdateDungeonObject(token, dungeonObjXML)
    End Function

End Class
